<div class="usuarios index">

	<h2><?php __('Promociones Disponibles');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('nombre');?></th> 
			<th><?php echo $this->Paginator->sort('precio');?></th>
			<th class="actions"><?php __('Ver descripción');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($packs as $pack):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $pack['Pack']['nombre']; ?>&nbsp;</td>
		<td><?php echo $pack['Pack']['precio']; ?>&nbsp;</td>
		<td class="actions_table">
			<?php echo $this->Html->link(__('Ver descripción', true), array('action' => 'view', $pack['Pack']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => false
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('Anterior', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('Siguiente', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
